<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>安装</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="mssql.requirements.html">需求</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="mssql.configuration.html">运行时配置</a></div>
 <div class="up"><a href="mssql.setup.html">安装／配置</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="mssql.installation" class="section">
 <h2 class="title">安装</h2>
 <p class="para">
  The MSSQL extension is enabled by adding extension=php_mssql.dll to
  <var class="filename">php.ini</var>.
 </p>
 <p class="para">
  To get these functions to work, you have to compile PHP with
  <strong class="option configure">--with-mssql[=DIR]</strong>
, where DIR is the
  FreeTDS install prefix. And FreeTDS should be compiled using
  <strong class="option configure">--enable-msdblib</strong>
.
 </p>
 <div class="warning"><strong class="warning">Warning</strong>
  <p class="para">
   MS SQL functions are aliases to Sybase functions if PHP is compiled with
   <a href="book.sybase.html" class="link">Sybase</a> extension and without MS SQL
   extension.
  </p>
 </div>
</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="mssql.requirements.html">需求</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="mssql.configuration.html">运行时配置</a></div>
 <div class="up"><a href="mssql.setup.html">安装／配置</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
